/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.asportoonline.business.beans;

import java.util.List;
import javax.ejb.Local;
import org.asportoonline.entities.Cliente;
import org.asportoonline.entities.Locale;




/**
 *
 * @author fe
 */
@Local
public interface LocaleManager {

    List<Locale> elencoLocali();

    void inserisciLocale(Locale locale);

    Locale cercaLocale(long id);
    
    Locale cercaLocale(String nome);
    
    List<Locale> recuperaLocaliVenditore(Cliente c);
    
    void aggiornaLocale(Locale locale);
    
    List<String> recuperaTutteLeLocalita();
    
    List<Locale> cercaPerLocalita(String localita);
}
